package com.ydl.zhwc.mvpandrxjava.mvp;

/**
 * author : Zhangwenchao
 * e-mail : zhangwch@yidianling.com
 * time   : 2017/12/21
 */

public interface BasePresenter<V extends BaseView> {

    // 绑定 view
    void attachView(V view);

    // 及时解绑 view，防止内存泄漏
    void detachView();

}
